package cn.doitedu.olap_doit13.service;

import cn.doitedu.olap_doit13.dao.FlowRptsDao;
import cn.doitedu.olap_doit13.pojo.ProvinceDau;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;

@Service
public class FlowRptsServiceImpl implements FlowRptsService {

    @Autowired
    FlowRptsDao rptsDao;

    @Override
    public List<ProvinceDau> queryProvinceDau(String start, String end) {

        List<ProvinceDau> dauLst = rptsDao.queryProvinceDau(start, end);

        return dauLst;
    }
}
